import { CommonModule, NgTemplateOutlet } from '@angular/common';
import { NgModule } from '@angular/core';
import { FormsModule, ReactiveFormsModule } from '@angular/forms';

import { NzAlertModule } from 'ng-zorro-antd/alert';
import { NzButtonModule } from 'ng-zorro-antd/button';
import { NzCardModule } from 'ng-zorro-antd/card';
import { NzCheckboxModule } from 'ng-zorro-antd/checkbox';
import { NzWaveModule } from 'ng-zorro-antd/core/wave';
import { NzDropDownModule } from 'ng-zorro-antd/dropdown';
import { NzFormModule } from 'ng-zorro-antd/form';
import { NzGridModule } from 'ng-zorro-antd/grid';
import { NzIconModule } from 'ng-zorro-antd/icon';
import { NzInputModule } from 'ng-zorro-antd/input';
import { NzLayoutModule } from 'ng-zorro-antd/layout';
import { NzMenuModule } from 'ng-zorro-antd/menu';
import { NzModalModule } from 'ng-zorro-antd/modal';
import { NzSelectModule } from 'ng-zorro-antd/select';
import { NzSpaceModule } from 'ng-zorro-antd/space';
import { NzTagModule } from 'ng-zorro-antd/tag';
import { NzUploadModule } from 'ng-zorro-antd/upload';

import { CardTableWrapComponent } from './components/card-table-wrap/card-table-wrap.component';
import { PageHeaderComponent } from './components/page-header/page-header.component';
import { TreeTableComponent } from './components/tree-table/tree-table.component';
import { WaterMarkComponent } from './components/water-mark/water-mark.component';
import { AuthDirective } from './directives/auth.directive';

@NgModule({
  declarations: [],
  imports: [
    NzSpaceModule,
    NzUploadModule,
    PageHeaderComponent,
    WaterMarkComponent,
    NzCardModule,
    CommonModule,
    NzLayoutModule,
    NzGridModule,
    NzSelectModule,
    NzWaveModule,
    CardTableWrapComponent,
    TreeTableComponent,
    AuthDirective,
    NgTemplateOutlet,
    NzTagModule,
    NzMenuModule,
    NzIconModule,
    FormsModule,
    ReactiveFormsModule,
    NzButtonModule,
    NzFormModule,
    NzCheckboxModule,
    NzInputModule,
    NzAlertModule,
    NzDropDownModule,
    NzModalModule
  ],
  exports: [
    NzSpaceModule,
    NzUploadModule,
    PageHeaderComponent,
    WaterMarkComponent,
    WaterMarkComponent,
    NzCardModule,
    CommonModule,
    NzLayoutModule,
    NzGridModule,
    NzSelectModule,
    NzWaveModule,
    CardTableWrapComponent,
    TreeTableComponent,
    AuthDirective,
    NgTemplateOutlet,
    NzTagModule,
    NzMenuModule,
    NzIconModule,
    FormsModule,
    ReactiveFormsModule,
    NzButtonModule,
    NzFormModule,
    NzCheckboxModule,
    NzInputModule,
    NzAlertModule,
    NzDropDownModule,
    NzModalModule
  ]
})
export class SharedModule {}
